import Vue from "vue";
import Router from './my-vue-router'
import Login from './components/Login.vue'
import Home from './components/Home.vue'
import Users from './components/users.vue'
import About from './components/about.vue'
Vue.use(Router)
export default new Router({
  mode:'hash',
  routes:[
    { path: '/', component: Home },
    { path: '/login', component: Login },
    { path:'/about', component: About, children:[
      {path: '/user', component: Users}
    ]}
  ]
})